﻿namespace Bll.Company
{
    using IDal.Company;
    using System;
    using DALFactory;

    public class ProfitAndLossBll
    {
        private static readonly IProfitAndLoss dal = DataAccess.CreateProfitAndLoss();

        public static string ReturnInventoryInput(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnInventoryInput(beginTime, endTime, ChainNum);
        }

        public static string ReturnInventoryOut(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnInventoryOut(beginTime, endTime, ChainNum);
        }

        public static string ReturnOtherInput(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnOtherInput(beginTime, endTime, ChainNum);
        }

        public static string ReturnOtherOut(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnOtherOut(beginTime, endTime, ChainNum);
        }

        public static string ReturnProcurment(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnProcurment(beginTime, endTime, ChainNum);
        }

        public static string ReturnSaleCost(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnSaleCost(beginTime, endTime, ChainNum);
        }

        public static string ReturnSaleMoney(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnSaleMoney(beginTime, endTime, ChainNum);
        }

        public static string ReturnSaleReturnMoney(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnSaleReturnMoney(beginTime, endTime, ChainNum);
        }

        public static string ReturnSendProMoney(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnSendProMoney(beginTime, endTime, ChainNum);
        }

        public static string ReturnTestDunk(DateTime beginTime, DateTime endTime, string ChainNum)
        {
            return dal.ReturnTestDunk(beginTime, endTime, ChainNum);
        }
    }
}

